package com.mudongheng.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mudongheng.app.model.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 幕冬
 * @since 2022年03月21日
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    default void testInsert() {
        SysUser sysUser = new SysUser();
        sysUser.setId(99999);
        sysUser.setName("ha");
        this.insert(sysUser);

        System.out.println("插入成功！");
        System.out.println(sysUser);
        System.out.println("6666");
        System.out.println("6666");
        System.out.println("6666");

        int i = 1 / 0;
    }

}
